package cn.mst.vrs.controller.admin.ordertype.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 订单类型 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderTypeRespVO {

    @Schema(description = "订单类型编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单类型编码")
    private String code;

    @Schema(description = "订单类型描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    @ExcelProperty("订单类型描述")
    private String description;

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "20108")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}